package com.uinnova.product.eam.mvc;

import com.binary.framework.bean.annotation.Comment;
import com.binary.framework.web.RemoteResult;
import com.uinnova.product.eam.service.ArchDesignEntranService;
import com.uinnova.product.eam.dto.ArchDesignEntranConf;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Comment("架构设计入口配置")
@RestController
@RequestMapping("/arch/design/entran")
public class ArchDesignEntranController {

    @Autowired
    private ArchDesignEntranService archDesignEntranService;

    @GetMapping("/conf")
    public RemoteResult conf() {
        ArchDesignEntranConf conf = archDesignEntranService.getConf();
        return new RemoteResult(conf);
    }

}
